<?php
namespace iBrand\Component\Recharge\Models;

use Illuminate\Database\Eloquent\Model;
use DB;
use iBrand\Component\Recharge\Models\GiftCoupon;


class RechargeRule extends Model
{
    protected $table = 'el_recharge_rule';

    protected $guarded = ['id'];

    public function  gift(){
        return $this->hasMany(GiftCoupon::class,'type_id');
    }



}

